import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';

class RefreshProgressView extends StatelessWidget {
  const RefreshProgressView({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
        constraints: BoxConstraints.expand(),
        color:Colors.black12.withAlpha(10),
        alignment: Alignment.center,
        child: Opacity(
          opacity: 0.8,
          child: SpinKitCubeGrid(
            color: Theme.of(context).primaryColor,
            size: 45,
          ),
        ));
  }
}
